import { dbGet } from "./db";
function checkLogin() {
	return !!dbGet("X-TOKEN");
}
const oss = 'https://xinyu-common-oss.oss-cn-hangzhou.aliyuncs.com';
let iconUrl = [];
let i = 0;
while(i<=9){
	iconUrl.push(`${oss}/icon/${i}.gif`);
	i++;
}
export {
	iconUrl,
	checkLogin,
}